package main

import "fmt"

type Person struct {
	Name string
	Age int
}

func (p Person) String() string {
	return p.Name
}

func main()  {
	a:=Person{"huangliusong",43}
	z:=Person{"z",9001}
	fmt.Println(a,z)

}